package com.SRMS.domain;

import java.sql.Timestamp;

/**
 * @author Albert
 * @version 1.0
 * @date 2023/12/16-15:50
 * @describe StudyRoomUsageRecord表对应类
 */
public class StudyRoomUsageRecord {
    private String studyRoomId;
    private String studentId;
    private String rightId;
    private Timestamp applicationTime;
    private Timestamp discontinuingUseTime;

    public StudyRoomUsageRecord() {
    }

    public StudyRoomUsageRecord(String studyRoomId, String studentId, String rightId, Timestamp applicationTime, Timestamp discontinuingUseTime) {
        this.studyRoomId = studyRoomId;
        this.studentId = studentId;
        this.rightId = rightId;
        this.applicationTime = applicationTime;
        this.discontinuingUseTime = discontinuingUseTime;
    }

    public String getStudyRoomId() {
        return studyRoomId;
    }

    public void setStudyRoomId(String studyRoomId) {
        this.studyRoomId = studyRoomId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getRightId() {
        return rightId;
    }

    public void setRightId(String rightId) {
        this.rightId = rightId;
    }

    public Timestamp getApplicationTime() {
        return applicationTime;
    }

    public void setApplicationTime(Timestamp applicationTime) {
        this.applicationTime = applicationTime;
    }

    public Timestamp getDiscontinuingUseTime() {
        return discontinuingUseTime;
    }

    public void setDiscontinuingUseTime(Timestamp discontinuingUseTime) {
        this.discontinuingUseTime = discontinuingUseTime;
    }

    @Override
    public String toString() {
        return "StudyRoomUsageRecord{" +
                "studyRoomId='" + studyRoomId + '\'' +
                ", studentId='" + studentId + '\'' +
                ", rightId='" + rightId + '\'' +
                ", applicationTime=" + applicationTime +
                ", discontinuingUseTime=" + discontinuingUseTime +
                '}';
    }
}
